package com.haiqi.common.persistence;


/**
 * Created by hythzx on 2016/5/10.
 */
public interface CrudDao<T> extends BaseDao {

    int deleteByPrimaryKey(String id);

    int insert(T t);

    int insertSelective(T t);

    T selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(T t);

    int updateByPrimaryKey(T t);

}
